package a入门.day5.数组;

public class 字符串数组 {
    public static void main(String[] args) {
        String[]arr=new String[3];
        arr=new String[]{"吃饭","喝酒","打逗逗"};
        System.out.println(arr.length);
        //System.out.println(arr[0]);
        for(int i=0;i<arr.length;i++){
            System.out.println(arr[i]);
        }
    }
}
